package com.fc.mall.decoration.link.object;

import com.fc.mall.validation.constraints.NullOrNotBlank;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.Size;

@Getter
@Setter
public class LinkUpdate {
    @NullOrNotBlank
    @Size(min = 1, max = 60)
    private String name;

    @NullOrNotBlank
    @Size(min = 1, max = 128)
    private String expression;

    private LinkStatus status;
}
